package com.zone.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zone.common.core.annotation.Excel;
import com.zone.common.core.web.domain.BaseEntity;

/**
 * 网点任务对象 zone_zsws_task
 * 
 * @author 刘洋
 * @date 2025-11-19
 */
public class ZswsTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID，自增 */
    private Long id;

    /** 任务类型 */
    @Excel(name = "任务类型")
    private Long taskType;

    /** 任务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date taskTime;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String status;

    /** 取消类型 */
    @Excel(name = "取消类型")
    private String cancelType;

    /** 取消原因 */
    @Excel(name = "取消原因")
    private String cancelReason;

    /** 网点id */
    @Excel(name = "网点id")
    private Long bankId;

    /** 送箱类型 */
    @Excel(name = "送箱类型")
    private String boxTypeList;

    /** 箱号清单 */
    @Excel(name = "箱号清单")
    private String boxList;

    /** 吉箱/实箱 */
    @Excel(name = "吉箱/实箱")
    private String emptyOrFullBox;

    /** 所送款箱所属网点 */
    @Excel(name = "所送款箱所属网点")
    private Long boxOwnerId;

    /** 新袋个数 */
    @Excel(name = "新袋个数")
    private Long blackBoxNew;

    /** 旧袋个数 */
    @Excel(name = "旧袋个数")
    private Long blackBoxOld;

    /** 其他袋个数 */
    @Excel(name = "其他袋个数")
    private Long blackBoxOther;

    /** 推送任务时间 */
    private Date deliverTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTaskType(Long taskType) 
    {
        this.taskType = taskType;
    }

    public Long getTaskType() 
    {
        return taskType;
    }

    public void setTaskTime(Date taskTime) 
    {
        this.taskTime = taskTime;
    }

    public Date getTaskTime() 
    {
        return taskTime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setCancelType(String cancelType) 
    {
        this.cancelType = cancelType;
    }

    public String getCancelType() 
    {
        return cancelType;
    }

    public void setCancelReason(String cancelReason) 
    {
        this.cancelReason = cancelReason;
    }

    public String getCancelReason() 
    {
        return cancelReason;
    }

    public void setBankId(Long bankId) 
    {
        this.bankId = bankId;
    }

    public Long getBankId() 
    {
        return bankId;
    }

    public void setBoxTypeList(String boxTypeList) 
    {
        this.boxTypeList = boxTypeList;
    }

    public String getBoxTypeList() 
    {
        return boxTypeList;
    }

    public void setBoxList(String boxList) 
    {
        this.boxList = boxList;
    }

    public String getBoxList() 
    {
        return boxList;
    }

    public void setEmptyOrFullBox(String emptyOrFullBox) 
    {
        this.emptyOrFullBox = emptyOrFullBox;
    }

    public String getEmptyOrFullBox() 
    {
        return emptyOrFullBox;
    }

    public void setBoxOwnerId(Long boxOwnerId) 
    {
        this.boxOwnerId = boxOwnerId;
    }

    public Long getBoxOwnerId() 
    {
        return boxOwnerId;
    }

    public void setBlackBoxNew(Long blackBoxNew) 
    {
        this.blackBoxNew = blackBoxNew;
    }

    public Long getBlackBoxNew() 
    {
        return blackBoxNew;
    }

    public void setBlackBoxOld(Long blackBoxOld) 
    {
        this.blackBoxOld = blackBoxOld;
    }

    public Long getBlackBoxOld() 
    {
        return blackBoxOld;
    }

    public void setBlackBoxOther(Long blackBoxOther) 
    {
        this.blackBoxOther = blackBoxOther;
    }

    public Long getBlackBoxOther() 
    {
        return blackBoxOther;
    }

    public void setDeliverTime(Date deliverTime) 
    {
        this.deliverTime = deliverTime;
    }

    public Date getDeliverTime() 
    {
        return deliverTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskType", getTaskType())
            .append("taskTime", getTaskTime())
            .append("status", getStatus())
            .append("cancelType", getCancelType())
            .append("cancelReason", getCancelReason())
            .append("bankId", getBankId())
            .append("boxTypeList", getBoxTypeList())
            .append("boxList", getBoxList())
            .append("emptyOrFullBox", getEmptyOrFullBox())
            .append("boxOwnerId", getBoxOwnerId())
            .append("blackBoxNew", getBlackBoxNew())
            .append("blackBoxOld", getBlackBoxOld())
            .append("blackBoxOther", getBlackBoxOther())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("deliverTime", getDeliverTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
